Skip to content

PR: Address pylint's "consider-using-with" warnings#20

Merged
ccordoba12 merged 2 commits intopython-lsp:developfrom
krassowski:consider-using-with
Apr 26, 2021
Merged

PR: Address pylint's "consider-using-with" warnings#20
ccordoba12 merged 2 commits intopython-lsp:developfrom
krassowski:consider-using-with

Conversation

@krassowski
Copy link
Member

Fixes #19 by adding context managers in all places flagged by consider-using-with. ExitStack was added in places where the simple with statement cannot be used.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linter and tests are failing on due to new "consider-using-with"

2 participants